home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / self / contrib.lha / contrib / xlib-support / xlib_glue.make < prev    next >
Encoding:
Text File  |  1993-05-18  |  649 b   |  25 lines

  1. # Sun-$Revision: 8.1.1 $
  2.  
  3. # Copyright 1992 Sun Microsystems, Inc. and Stanford University.
  4. # See the LICENSE file for license information.
  5.  
  6. # Makefile for Xlib glue
  7.  
  8. ROOTDIR = ..
  9.  
  10. # The .c file name should end in "glue.c" so the makefiles will know it is
  11. # glue code (glue must compile without -g because compiles take too long)
  12. NAME = xlib_glue
  13.  
  14. ${NAME}.so: ${NAME}.o
  15.     ld -o $@ $?
  16.  
  17. ${NAME}.o: ${NAME}.c xlib.primMaker.h
  18.     ${COMPILE.gnu.o.nog} -o $@ ${NAME}.c
  19.  
  20. INCLUDES = -I${ROOTDIR}/sun4/optimized -I${ROOTDIR}/glueDefs
  21.  
  22. include ${ROOTDIR}/MakefileOptimizeTemplate
  23. include ${ROOTDIR}/MakefileCompileTemplate
  24. include ${ROOTDIR}/MakefileSun4Template
  25.